/*! @file   BaseLib.cpp EclipseIR BaseLib definitions
 */
#include "BaseLib.h"
#include "Version.h"
#include <CommonVersion.h>

#include <QtDebug>
#include <quick/QuickUnitTest.h>

#include "BaseLog.h"

BaseLib * gpBase = Base::instance();

extern "C" BASESHARED_EXPORT void executeUnitTest(void)
{
    Base::instance()->executeUnitTest();
}


/*! @fn BaseLib::BaseLib(void)
 *
 * @brief BaseLib::BaseLib initializes the BaseLib class.
 */
BaseLib::BaseLib(void)
    : ModuleInfo(MODULE_NAME)
{
    BLOG_MIN(BaseLog::Minimum);
    setVersion();
}

/*! @fn void BaseLib::executeUnitTest(void)
 *
 * @internal
 */
void BaseLib::executeUnitTest(void)
{
    QUT_FUNCTION();
    //QUT_EXPECTEQ(VER_MAJOR, Base::instance()->version().getMajor());
}
